﻿using System.ComponentModel.DataAnnotations;
using EPiServer.Core;
using EPiServer.DataAbstraction;
using EPiServer.DataAnnotations;

namespace StarterKit.Web.Models.Pages
{
    /// <summary>
    /// Used for campaign or landing pages, commonly used for pages linked in online advertising such as AdWords
    /// </summary>
    [ContentType(
        DisplayName = "Landing Page",
        Description = "Landing Page Description",
        GroupName = "Default",
        Order = 100)]
    public class LandingPageData : BasePageData
    {
        [Display(Order=310)]
        [CultureSpecific]
        public virtual ContentArea MainContentArea { get; set; }

        public override void SetDefaultValues(ContentType contentType)
        {
            base.SetDefaultValues(contentType);

            //HideSiteFooter = true;
            //HideSiteHeader = true;
        }
    }
}